<?php 
$title = 'My hamtruyencoms';
$this->headTitle($title);
?>
<h1><?php echo $this->escapeHtml($title); ?></h1>
<p><a href="<?php echo $this->url('hamtruyencom', array( 
        'action'=>'add'));?>">Add new hamtruyencom</a></p>

<table class="table">
<tr>
    <th>Title</th>
    <th>Artist</th>
    <th>&nbsp;</th>
</tr>
<?php foreach($paginator as $hamtruyencom) : ?>
<tr>
    <td><?php echo $this->escapeHtml($hamtruyencom->title);?></td>
    <td><?php echo $this->escapeHtml($hamtruyencom->artist);?></td>
    <td>
        <a href="<?php echo $this->url('hamtruyencom',
            array('action'=>'edit', 'id' => $hamtruyencom->id));?>">Edit</a>
        <a href="<?php echo $this->url('hamtruyencom',
            array('action'=>'delete', 'id' => $hamtruyencom->id));?>">Delete</a>
    </td>
</tr>
<?php endforeach; ?>
</table>
<?php 
echo $this->paginationControl(
            $paginator, 'Sliding', 'paginator-hamtruyencom', array('order_by' => $order_by, 'order' => $order)
    );
?>